package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblRrChannel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 渠道 Mapper 接口
 * @author xiaochuan
 * @since 2021-12-01
 */
public interface TblRrChannelMapper extends BaseMapper {

    public List<TblRrChannel> selectByParams(@Param("params") TblRrChannel params);

    public Integer selectUsedCount(TblRrChannel tblRrChannel);

    String getChannelNameByChannelNo(@Param("channelNo") String channelNo);

    String getChannelNoByChannelName(@Param("channelName") String channelName);


}

